﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Treinamento2015_01.Util
{
    public static class Extensions
    {
        public static string GlobalResources(this HtmlHelper htmlHelper, string resourceKey)
        {
            return htmlHelper.ViewContext.HttpContext.GetGlobalResourceObject("Global", resourceKey).ToString();
        }
    }
}